package repo

import (
	"context"
	"forum/internal/domain"
)

type UserRepository interface {
	Save(ctx context.Context, user domain.User) error
	FindByEmail(ctx context.Context, user domain.User) (domain.User, error)
	FindById(ctx context.Context, id int64) (domain.User, error)
}
